import { Menu } from "../models/menu";

export default async function sys(app) {
  app.get("menu/list", () => {
    return Menu.find({});
  });
}

export const autoPrefix = "/sys/";
